<template>
  <AButton label="公共按钮组件">按钮</AButton>
  <AText label="公共文本组件">文本11</AText>
  <h2>你好的</h2>
<div>测试文字</div>
<van-button type="primary" @click="goBack()">返回按钮</van-button>

</template>

<script lang='ts' setup>
import { ref, reactive } from 'vue';
import { onMounted, onBeforeUpdate, onUpdated, onBeforeUnmount, onUnmounted } from 'vue';
import { useRouter, useRoute } from 'vue-router';
import AButton from "@ui/components/AButton/AButton.vue"
import AText from "@ui/components/AText/AText.vue"
const router = useRouter()

onMounted(()=>{}),
onBeforeUpdate(()=>{}),
onUpdated(()=>{}),
onBeforeUnmount(()=>{}),
onUnmounted(()=>{})
const goBack = () => {
  router.go(-1)
}
</script>
<style scoped lang='scss'>
</style>
<style></style>